import request from '@/utils/request'
export default {
  // /api/OaTrendOfWork/add
  // 新增工作交流
  save(data){
    return request({
      url: `/OaTrendOfWork/add`,
      method: 'post',
      data
    })
  },
  // /api/OaTrendOfWork/all
  // 全部共享列表
  all(page){
    return request({
      url:`/OaTrendOfWork/all`,
      method:'get',
      params:{pageIndex:page.index,pageSize:page.size}
    })
  },
/*/api/OaTrendOfWork/geRen
个人信息列表*/
  geRen(page){
    return request({
      url:`/OaTrendOfWork/geRen`,
      method:'get',
      params:{pageIndex:page.index,pageSize:page.size}
    })
  },
  // /api/OaTrendOfWork/KeShi
  // 科室信息列表
  keShi(page){
    return request({
      url:`/OaTrendOfWork/KeShi`,
      method:'get',
      params:{pageIndex:page.index,pageSize:page.size}
    })
  },
  // /api/OaTrendOfWork/SiRen
  // 私人信息列表
  siRen(page){
    return request({
      url:`/OaTrendOfWork/SiRen`,
      method:'get',
      params:{pageIndex:page.index,pageSize:page.size}
    })
  },
  // /OaTrendOfWork/deleteByIds
  // 根据id批量删除列表
  delete(data){
    return request({
      url:`/OaTrendOfWork/deleteByIds`,
      method:'delete',
      data
    })
  }
}
